package com.example.service;

import com.example.model.Borrow;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface BorrowService {
    void borrowBook(Borrow borrow);

    void returnBook(int borrowId);

    Borrow getBorrowById(int borrowId);
}

